<?php
/*
+-----------------------------------------------------------------------------+
| $Id: *.php 2009-08-18 08:41:22Z Bleakwind $
| Copyright (c) 2003-2010 Bleakwind (www.weaverdream.com)
| http://www.weaverdream.com/
+-----------------------------------------------------------------------------+
*/

if( in_array($sys->get['vc'], $VERIFYCODE) ){
    $bwvc = new bwverify();

    $bwvc->width        = 60;
    $bwvc->height       = 20;
    $bwvc->color        = "047CA1";
    $bwvc->mixcolor     = "047CA1";
    $bwvc->bgcolor      = "FDF6C7";
    $bwvc->bordercolor  = "E6B000";
    $bwvc->codelist    = array("3","4","6","7","8","9",
                               "A", "B", "C", "D", "E", "F", "G", "H", "J", "K", "M", "N",
                               "P", "R", "T", "U", "V", "W", "X", "Y");

    $bwvc->x_padding    = 3;
    $bwvc->y_padding    = 2;
    $bwvc->x_offset     = 3;
    $bwvc->y_offset     = 2;

    $bwvc->font_family  = "2,3,4,5";
    $bwvc->len          = 4;
    $bwvc->mix_amount   = 0;

    $bwvc->create_image();
    $ASESSION->set($sys->get['vc'], $bwvc->transfer_code());
    $bwvc->output();
}
$CONFIGURE['common']['if_output_template'] = "0";
?>
